/**
app.js
 */
import React, {
	Component
} from 'react';
import {
	AppRegistry,
	StyleSheet,
	Text,
	View,
	InteractionManager
} from 'react-native';

export default class User extends Component {
	constructor(props) {
		super(props);
		this.state = {
			name: 'user'
		}
	}

	render() {
		return (
			<View style={s.container}>
				<Text style={s.color}>{this.state.name}</Text>
			</View>
		);
	}
}



const s = StyleSheet.create({
	flex: {
		flex: 1,
	},
	container: {
		flex: 1,
		justifyContent: 'center',
		alignItems: 'center',
		backgroundColor: '#F5FCFF',
	},
	topone: {
		height: 40,
	},
	bottomone: {
		marginTop: 10,
		height: 40,
	},
	color: {
		flex: 1,
		backgroundColor: 'red'
	}

});